/**
 * @Author: Your name
 * @Date:   2024-03-08 11:21:53
 * @Last Modified by:   Your name
 * @Last Modified time: 2024-03-08 11:21:56
 */
// user.schema.ts
import { Schema } from 'mongoose';

export const userSchema = new Schema({
    _id: { type: String, required: true }, // 覆盖 Mongoose 生成的默认 _id
    user_name: { type: String, required: true },
    password: { type: String, required: true }
});